package com.aspose.cells;

public class ShapeGuide {
   private String a;
   private String b;

   private ShapeGuide() {
   }

   ShapeGuide(String name, String formula) {
      this.a = name;
      this.b = formula;
   }

   String a() {
      return this.a;
   }

   String b() {
      return this.b;
   }

   public double getValue() {
      if (this.b != null && this.b.startsWith("val")) {
         String var1 = this.b.substring(4).trim();
         if (zapb.c(var1)) {
            return com.aspose.cells.b.a.zn.a(var1) / 100000.0D;
         }
      }

      return 0.0D;
   }

   public void setValue(double value) {
      int var3 = (int)(value * 100000.0D);
      if (this.b != null && this.b.startsWith("val")) {
         this.b = "val " + var3;
      }

   }

   int c() {
      return (int)(this.getValue() * 100000.0D + 0.5D);
   }
}
